package com.ruoyi.system.api.resp;

import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value="ShProductResp对象", description="商品信息出参")
public class ShProductResp extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "商品标签(逗号分隔多个标签)")
    private String labelId;

    @ApiModelProperty(value = "发布用户id")
    private Long userId;

    @ApiModelProperty(value = "用户头像(冗余字段)")
    private String userPic;

    @ApiModelProperty(value = "商品大类")
    private Integer productType;

    @ApiModelProperty(value = "商品中类")
    private Integer productTypem;

    @ApiModelProperty(value = "商品小类")
    private Integer productTyped;

    @ApiModelProperty(value = "商品名称")
    private String productTitle;

    @ApiModelProperty(value = "商品描述")
    private String productDesc;

    @ApiModelProperty(value = "商品详细描述")
    private String productDetail;

    @ApiModelProperty(value = "商品宣传图")
    private String productPic;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal productPrice;

    @ApiModelProperty(value = "商品折扣")
    private BigDecimal productDiscount;

    @ApiModelProperty(value = "分销比率")
    private BigDecimal discount;

    @ApiModelProperty(value = "分销梯度比率")
    private BigDecimal discountBl;

    @ApiModelProperty(value = "是否视频")
    private Integer isVideo;

    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;

    @ApiModelProperty(value = "商品标签(逗号分隔多个标签)")
    private String labelNames;

    @ApiModelProperty(value = "是否已支付可显示视频")
    private boolean showVideo;

    @ApiModelProperty(value = "是否支付")
    private boolean isPay;

    @ApiModelProperty(value = "商品宣传图集")
    private List<ShProductPictureResp> productPics;
}
